package com.zhmsky.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author zhmsky
 * @date 2021/12/9 16:19
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("in_stock_info")
public class InStockInfo {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String inNum;
    private String pNum;
    private Integer productNumber;
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
    @Version
    private Integer version;
    @TableLogic
    private Integer delete;
}